<!--
 * @Author: 汪军 624473119@qq.com
 * @Date: 2023-10-10 18:15:53
 * @LastEditors: 汪军 624473119@qq.com
 * @LastEditTime: 2023-10-19 10:36:32
 * @FilePath: \ekee-web\src\views\end\easy-link\EasyLink.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template >
  <el-table :data="gridData" show-header 
    :header-cell-style="{'text-align':'center'}"
    :cell-style="{'text-align':'center'}"
    border
    >
    <el-table-column  prop="id" label="核销ID" width="150" />
    <el-table-column  prop="money" label="核销金额" width="200" />
    <el-table-column  prop="createtime" label="核销时间" />
  </el-table>
</template>
        
<script setup>
import { onMounted, ref } from "vue";
import { OrderVerification } from "@/api/easymain";
const props = defineProps({
  rowId: "",
});
onMounted(() => {
  console.log("roewefw", props.rowId);
  form.value.id = props.rowId;
  getOrderVerification();
});
const form = ref({
  id: "",
});
const getOrderVerification = () => {
  OrderVerification(form.value)
    .then((res) => {
      gridData.value = res.data;
    })
    .catch((err) => {});
};
const gridData = ref([]);
const formRef = ref();
</script>
     <style lang="stylus" scoped>
     .deliver-goods {
       .title {
         font-size: 24px;
       }

       .form-content {
         padding: 0px 66px;

         .require {
           padding: 16px 12px 0px 12px;
           border: 1px solid #E6E6E6;
         }

         .no-require {
           margin-left: 32px;
           padding: 16px 12px;
           border: 1px solid #E6E6E6;
         }
       }

       .input-width {
         width: 245px;
       }

       .btn {
         width: 178px;
       }

       .overdue {
         color: #E84026;
       }

       .refund {
         color: #2487E8;
       }

       .no-quota {
         margin-top: 200px;
       }

       // 上传图片相关
       .avatar-uploader .el-upload {
         border: 1px dashed #dcdfe6;
         border-radius: 6px;
         cursor: pointer;
         position: relative;
         overflow: hidden;
         transition: var(--el-transition-duration-fast);
       }

       .avatar-uploader .el-upload:hover {
         border-color: #dcdfe6;
       }

       .el-icon.avatar-uploader-icon {
         font-size: 28px;
         color: #8c939d;
         width: 152px;
         height: 100px;
         text-align: center;
         border: 1px dashed #dcdfe6;
       }

       .avatar-uploader .avatar {
         width: 152px;
         height: 100px;
         display: block;
       }
     }
</style>
              